import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入ElementUI  js
import ElementUI from 'element-ui';
//引入ElementUI CSS
import 'element-ui/lib/theme-chalk/index.css';
//将ElemeneUI加载到Vue对象
Vue.use(ElementUI)

//引入axios
import axios  from "axios";
//将axios加载到vue对象中   在任何地方使用时 this.axios
Vue.prototype.axios = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
